/*
 * tp2855_reg.h
 *
 *  Created on: 2024年3月11日
 *      Author: NI
 */

#ifndef CAPTURE_DECODER_ACAMERA_TP2855_NO3_TP2855_TP2855_REG_H_
#define CAPTURE_DECODER_ACAMERA_TP2855_NO3_TP2855_TP2855_REG_H_

enum{
    CH_1=0,   //
    CH_2=1,   //
    CH_3=2,   //
    CH_4=3,   //
    CH_ALL=4,   //
    MIPI_PAGE=8,
};
enum{
    STD_TVI, //TVI
    STD_HDA, //AHD
};
enum{
    PAL,
    NTSC,
    HD25,    //720p25
    HD30,    //720p30
    FHD25,   //1080p25
    FHD30,   //1080p30
    FHD50,   //1080p50
    FHD60,   //1080p60
    QHD25,   //2560x1440p25
    QHD30,   //2560x1440p30
    UVGA25,  //1280x960p25, must use with MIPI_4CH4LANE_445M
    UVGA30,  //1280x960p30, must use with MIPI_4CH4LANE_445M
    HD30HDR, //special 720p30 with ISX019, must use with MIPI_4CH4LANE_396M
    HD50,    //720p50
    HD60,    //720p60
    A_UVGA30,  //HDA 1280x960p30, must use with MIPI_4CH4LANE_378M
    F_UVGA30,  //FH 1280x960p30, must use with MIPI_4CH4LANE_432M
    UVGA30_945,  //TVI 1280x960p30, must use with MIPI_4CH4LANE_378M
    FHD275,   //1080p27.5
    FMT5M20,
    FMT5M12,
    FMT8M15,
    FMT8M12,
    FMT8M7,
    HD30864, //total 1600x900 86.4M
    FHD60_X3C, //1080P60
};
enum{
	MIPI_CONFIG_NULL,
    MIPI_4CH4LANE_297M, //up to 4x720p25/30
    MIPI_4CH4LANE_594M, //up to 4x1080p25/30
    MIPI_4CH2LANE_594M, //up to 4x720pp25/30
    MIPI_4CH4LANE_445M, //only for 4x960p25/30
    MIPI_2CH4LANE_297M, //up to 2x1080p25/30
    MIPI_2CH4LANE_594M, //up to 2xQHDp25/30 or 2x1080p50/60
    MIPI_4CH4LANE_396M, //only for 4xHD30HDR
    MIPI_4CH4LANE_378M, //only for 4xA_UVGA30
    MIPI_4CH4LANE_432M, //only for 4xF_UVGA30
    MIPI_1CH2LANE_594M,
    MIPI_3CH4LANE_594M,
    MIPI_4CH4LANE_345M, //only for HD30864
    MIPI_4CH4LANE_648M, //only for FHD60_X3C

	MIPI_3CH4LANE_297M,
	MIPI_1CH4LANE_297M,
	MIPI_2CH2LANE_594M,
	MIPI_2CH4LANE_648M,
	MIPI_CONFIG_MAX
};

#endif /* CAPTURE_DECODER_ACAMERA_TP2855_NO3_TP2855_TP2855_REG_H_ */
